package com.cldz.config;

import com.cldz.interceptor.CharlesRequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ Author     ：lixiao.
 * @ Date       ：Created in 10:33 2018/12/25
 * @ Description：
 * @ Modified By：
 */
@Configuration
public class FeignConfiguration {

    @Bean
    public CharlesRequestInterceptor charlesRequestInterceptor(){
        return new CharlesRequestInterceptor();
    }
}
